package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户的账户信息对象 sys_user_account
 * 
 * @author ruoyi
 * @date 2024-11-18
 */
public class SysUserAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户的id信息 */
    private Long userId;

    /** 花瓣余额 */
    @Excel(name = "花瓣余额")
    private String balance;

    /** 体验次数余量，每日刷新两次 */
    @Excel(name = "体验次数余量，每日刷新两次")
    private Long experience;

    /** 扣费率 */
    @Excel(name = "扣费率")
    private Long rate;

    /** 账户剩余可用天数 */
    @Excel(name = "账户剩余可用天数")
    private String remaining;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setBalance(String balance) 
    {
        this.balance = balance;
    }

    public String getBalance() 
    {
        return balance;
    }
    public void setExperience(Long experience) 
    {
        this.experience = experience;
    }

    public Long getExperience() 
    {
        return experience;
    }
    public void setRate(Long rate) 
    {
        this.rate = rate;
    }

    public Long getRate() 
    {
        return rate;
    }
    public void setRemaining(String remaining) 
    {
        this.remaining = remaining;
    }

    public String getRemaining() 
    {
        return remaining;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("balance", getBalance())
            .append("experience", getExperience())
            .append("rate", getRate())
            .append("remaining", getRemaining())
            .toString();
    }
}
